﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.View
{
    public class VAutomobile
    {
        #region entity properties

        /// <summary>
        /// 标识
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public Guid CustomerId { get; set; }

        public string Number { get; set; }

        /// <summary>
        /// 车主姓名
        /// </summary>
        public string Owner { get; set; }

        /// <summary>
        /// 车主电话
        /// </summary>
        public string OwnerTelephone { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public string LPN { get; set; }

        /// <summary>
        /// 车架号
        /// </summary>
        public string VIN { get; set; }

        /// <summary>
        /// 发动机编号
        /// </summary>
        public string EIN { get; set; }

        /// <summary>
        /// 发动机型号
        /// </summary>
        public string EngineType { get; set; }

        /// <summary>
        /// 汽车品牌
        /// </summary>
        public string Brand { get; set; }

        /// <summary>
        /// 汽车厂商
        /// </summary>
        public string Maker { get; set; }

        /// <summary>
        /// 车系
        /// </summary>
        public string Series { get; set; }

        /// <summary>
        /// 车型
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        /// 购买日期
        /// </summary>
        public DateTime? BoughtDate { get; set; }

        /// <summary>
        /// 保险公司
        /// </summary>
        public string InsuranceCompany { get; set; }

        /// <summary>
        /// 保险到期时间
        /// </summary>
        public DateTime? InsuranceExpirationDate { get; set; }

        /// <summary>
        /// 保险单号
        /// </summary>
        public string InsuranceNumber { get; set; }

        /// <summary>
        /// 下次年检时间
        /// </summary>
        public DateTime? NextAnnualSurveyDate { get; set; }

        /// <summary>
        /// 下次保养时间
        /// </summary>
        public DateTime? NextMaintenanceDate { get; set; }
        /// <summary>
        /// 下次更新轮胎时间
        /// </summary>
        public DateTime? NextReplaceTireDate { get; set; }

        /// <summary>
        /// 从app同步过来的时间
        /// </summary>
        public DateTime? AppSyncedTime { get; set; }

        /// <summary>
        /// 离线数据Id
        /// </summary>
        public Guid? OfflineId { get; set; }

        public int Status { get; set; }
        public DateTime CreatedTime { get; set; }
        public string Creator { get; set; }
        #endregion

        /// <summary>
        /// 汽车品牌名称
        /// </summary>
        public string BrandName { get; set; }

        /// <summary>
        /// 汽车厂商名称
        /// </summary>
        public string MakerName { get; set; }

        /// <summary>
        /// 车系名称
        /// </summary>
        public string SeriesName { get; set; }

        /// <summary>
        /// 车型名称
        /// </summary>
        public string ModelName { get; set; }

        /// <summary>
        /// 保险公司名称
        /// </summary>
        public string InsuranceCompanyName { get; set; }
    }
}
